package com.services;

import java.util.List;

import com.DAO.SpecialRepository;
import com.DAO.impl.SpecialRepositoryImpl;
import com.beans.Special;

public class SpecialService {
	private  SpecialRepository special= new SpecialRepositoryImpl();
	public List<Special> selectAll(){
		return special.selectAll();
	}
	public Special findById(int staffSno) {
		return special.findById(staffSno);
	}
	public void add(int staffSno,int childNum,int conEdu,int houseLoan,int rent,int old) {
		special.add(staffSno, childNum, conEdu, houseLoan, rent, old);
	}
	
	public void update(int staffSno,int childNum,int conEdu,int houseLoan,int rent,int old) {
		special.update(staffSno, childNum, conEdu, houseLoan, rent, old);
	}
}
